<?php

class AdminEscritorioController extends BaseController {

    public function showEscritorio() {
    	$cantRelatos = Relato::count();
    	$cantObjetos = Objeto::count();
        $cantApartments = Apartment::count();
        $cantPages = Page::count();
        return View::make('admin.escritorio.index', [
        		'cantRelatos' => $cantRelatos,
        		'cantObjetos' => $cantObjetos,
                'cantApartments' => $cantApartments,
                'cantPages' => $cantPages,
            ]);
    }
    //put your code here
}
